package com.heiying.pojo;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * user实体类
 * @author Administrator
 *
 */
@Entity
@Table(name="user")
public class User implements Serializable{

	@Id
	private Integer openId;//主键id,小程序唯一标识


	

	private String icon;//用户头像

	private String nickname;//用户昵称

	private String gender;//用户性别:0=男，1=女

	private String college;//用户学校

	private String classname;//用户班级

	private Integer garde;//用户年级

	
	public Integer getOpenId() {
		return openId;
	}
	public void setOpenId(Integer openId) {
		this.openId = openId;
	}

	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getCollege() {
		return college;
	}
	public void setCollege(String college) {
		this.college = college;
	}

	public String getClassname() {
		return classname;
	}
	public void setClassname(String classname) {
		this.classname = classname;
	}

	public Integer getGarde() {
		return garde;
	}
	public void setGarde(Integer garde) {
		this.garde = garde;
	}


	
}
